package org.sdp.pearproject.dao.mapper;

import org.sdp.pearproject.dao.domain.*;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * InterfaceName: TaskStagesMapper
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-18
 * @Version: 1.0
 * Table: pear_task_stages
 * Comment:
 * 任务列表表
 */
public interface TaskStagesMapper {
    int deleteByPrimaryKey(Integer id);

    int deleteById(Integer id);

    int deleteByCode(String code);

    int deleteByExample(TaskStagesExample example);

    int insert(TaskStagesWithBLOBs record);

    int insertSelective(TaskStagesWithBLOBs record);

    List<TaskStagesWithBLOBs> selectByExampleWithBLOBs(TaskStagesExample example);

    List<TaskStages> selectByExample(TaskStagesExample example);

    int countByExample(TaskStagesExample example);

    TaskStages selectByPrimaryKey(Integer id);

    TaskStagesWithBLOBs selectByPrimaryKeyWithBLOBs(Integer id);

    TaskStages selectById(Integer id);

    TaskStagesWithBLOBs selectByIdWithBLOBs(Integer id);

    TaskStages selectByCode(String code);

    TaskStagesWithBLOBs selectByCodeWithBLOBs(String code);

    int updateByExampleSelective(@Param("record") TaskStagesWithBLOBs record, @Param("example") TaskStagesExample example);

    int updateByPrimaryKeySelective(TaskStagesWithBLOBs record);

    int updateByIdSelective(TaskStagesWithBLOBs record);

    int updateByCodeSelective(TaskStagesWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TaskStagesWithBLOBs record);

    int updateByPrimaryKey(TaskStages record);

    int updateById(TaskStages record);

    int updateByIdWithBLOBs(TaskStagesWithBLOBs record);

}
